package com.isp.common.model.user;

import java.io.Serializable;

/**
 * 权限变动通知MQ
 *
 * @author wayne
 * @date 2021/09/13
 */
public class PermissionChangeDTO implements Serializable {

    private static final long serialVersionUID = -6957118387816329939L;

    private PermissionChangeTypeEnum changeType;
    private String groupCode;
    private PermissionDTO permissionDTO;

    public PermissionChangeDTO() {
    }

    public PermissionChangeDTO(PermissionChangeTypeEnum changeType, String groupCode, PermissionDTO permissionDTO) {
        this.changeType = changeType;
        this.groupCode = groupCode;
        this.permissionDTO = permissionDTO;
    }

    public PermissionChangeTypeEnum getChangeType() {
        return changeType;
    }

    public void setChangeType(PermissionChangeTypeEnum changeType) {
        this.changeType = changeType;
    }

    public String getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode;
    }

    public PermissionDTO getPermissionDTO() {
        return permissionDTO;
    }

    public void setPermissionDTO(PermissionDTO permissionDTO) {
        this.permissionDTO = permissionDTO;
    }
}
